package kr.ac.hansung.www;

import java.io.Serializable;

public class GPS implements Serializable {
	private static final long serialVersionUID = -1263288313292961618L;

	private Member member;
	private double latitude;
	private double longitude;
	private double altitude;
	private long time;

	public GPS() {

	}

	public GPS(double latitude, double longitude) {
		this.latitude = latitude;
		this.longitude = longitude;
	}

	public GPS(double latitude, double longitude, long time) {
		this.latitude = latitude;
		this.longitude = longitude;
		this.time = time;
	}
	
	public GPS(double latitude, double longitude, double altitude, long time) {
		this.latitude = latitude;
		this.longitude = longitude;
		this.altitude  = altitude;
		this.time = time;
	}

	public GPS(Member member, double latitude, double longitude, long time) {
		this.member = member;
		this.latitude = latitude;
		this.longitude = longitude;
		this.time = time;
	}

	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public double getAltitude() {
		return altitude;
	}

	public void setAltitude(double altitude) {
		this.altitude = altitude;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

}
